package cn.com.jonpad.demo06_simple_project.listener;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

@Slf4j
public class MyListener implements ServletContextListener {
	@Override
	public void contextInitialized(ServletContextEvent servletContextEvent) {
		log.error("loading MyListener");
	}

	@Override
	public void contextDestroyed(ServletContextEvent servletContextEvent) {
		log.error("Destroyed MyListener");
	}
}
